home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / library / rqtlsusr.lha / ReqTools / RexxReqTools / Examples / TTXARexx.lha / SaveClipAs.ttx < prev    next >
Text File  |  1993-10-21  |  453b  |  18 lines

  1. /* $VER: SaveClipAs.ttx 1.0 (20.02.93) */
  2.  
  3. OPTIONS RESULTS
  4.  
  5. GetFilePath
  6. DirName = RESULT
  7. Index = LastPos( '/', DirName )
  8.  
  9. IF Index = 0 THEN Index = Index( DirName, ":" )
  10. IF Index ~= 0 THEN DirName = Left( DirName, Index )
  11. ELSE DirName = ""
  12.  
  13. FileName = rtFileRequest( DirName, , "Select file to save as clip", "_Save", "RTFI_Flags=FREQF_PatGad|FREQF_Save RT_PubScrName=TURBOTEXT" )
  14.  
  15. IF rtResult = 1 THEN SaveClip NOBACKUP FileName
  16.  
  17. CALL rtFreeFileBuffer
  18.